Posted by FrontRunner from ts002d14.kal-mi.concentric.net (206.173.106.74) on May 23, 1999 at 02:42:26:
After I load in my 256x256x24 (or 512x512x24 or 1024x1024x24) BMP file for use with textures,
I have come up with a problem I can't seem to understand why. No matter what object I pick, (or texture),
I always end up with 9 exact copies of the texture on the object. (This is with GL_REPEAT) When I use
GL_CLAMP, instead of the texture being pasted onto the polygon, it is only visable when the polygon is at
a certain coordinate (like 0,0,0), all the other times the polygon is just black with no gfx on it
at all.
The polygon is just a square, and a triangle. (not a cube or a pyramid)
Anyone know what is causing the 9 exact copies using GL_REPEAT, and how exactly do I tell openGL to
only use 1 copy instead of 9? (the polygon is only 100 pixels big so the texture should cover up the whole thing
no problem.)
ideas?